﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.TextureFormat
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using System;
using System.ComponentModel;

#nullable disable
namespace UnityEngine
{
  /// <summary>
  ///   <para>Format used when creating textures from scripts.</para>
  /// </summary>
  public enum TextureFormat
  {
    [EditorBrowsable(EditorBrowsableState.Never), Obsolete("Enum member TextureFormat.ATC_RGB4 has been deprecated. Use ETC_RGB4 instead (UnityUpgradable) -> ETC_RGB4", true)] ATC_RGB4 = -127, // 0xFFFFFF81
    [Obsolete("Enum member TextureFormat.ATC_RGBA8 has been deprecated. Use ETC2_RGBA8 instead (UnityUpgradable) -> ETC2_RGBA8", true), EditorBrowsable(EditorBrowsableState.Never)] ATC_RGBA8 = -127, // 0xFFFFFF81
    [Obsolete("Enum member TextureFormat.PVRTC_2BPP_RGB has been deprecated. Use PVRTC_RGB2 instead (UnityUpgradable) -> PVRTC_RGB2", true), EditorBrowsable(EditorBrowsableState.Never)] PVRTC_2BPP_RGB = -127, // 0xFFFFFF81
    [Obsolete("Enum member TextureFormat.PVRTC_2BPP_RGBA has been deprecated. Use PVRTC_RGBA2 instead (UnityUpgradable) -> PVRTC_RGBA2", true), EditorBrowsable(EditorBrowsableState.Never)] PVRTC_2BPP_RGBA = -127, // 0xFFFFFF81
    [Obsolete("Enum member TextureFormat.PVRTC_4BPP_RGB has been deprecated. Use PVRTC_RGB4 instead (UnityUpgradable) -> PVRTC_RGB4", true), EditorBrowsable(EditorBrowsableState.Never)] PVRTC_4BPP_RGB = -127, // 0xFFFFFF81
    [Obsolete("Enum member TextureFormat.PVRTC_4BPP_RGBA has been deprecated. Use PVRTC_RGBA4 instead (UnityUpgradable) -> PVRTC_RGBA4", true), EditorBrowsable(EditorBrowsableState.Never)] PVRTC_4BPP_RGBA = -127, // 0xFFFFFF81
    /// <summary>
    ///   <para>Alpha-only texture format, 8 bit integer.</para>
    /// </summary>
    Alpha8 = 1,
    /// <summary>
    ///   <para>A 16 bits/pixel texture format. Texture stores color with an alpha channel.</para>
    /// </summary>
    ARGB4444 = 2,
    /// <summary>
    ///   <para>Color texture format, 8-bits per channel.</para>
    /// </summary>
    RGB24 = 3,
    /// <summary>
    ///   <para>Color with alpha texture format, 8-bits per channel.</para>
    /// </summary>
    RGBA32 = 4,
    /// <summary>
    ///   <para>Color with alpha texture format, 8-bits per channel.</para>
    /// </summary>
    ARGB32 = 5,
    /// <summary>
    ///   <para>A 16 bit color texture format.</para>
    /// </summary>
    RGB565 = 7,
    /// <summary>
    ///   <para>Single channel (R) texture format, 16 bit integer.</para>
    /// </summary>
    R16 = 9,
    /// <summary>
    ///   <para>Compressed color texture format.</para>
    /// </summary>
    DXT1 = 10, // 0x0000000A
    /// <summary>
    ///   <para>Compressed color with alpha channel texture format.</para>
    /// </summary>
    DXT5 = 12, // 0x0000000C
    /// <summary>
    ///   <para>Color and alpha  texture format, 4 bit per channel.</para>
    /// </summary>
    RGBA4444 = 13, // 0x0000000D
    /// <summary>
    ///   <para>Color with alpha texture format, 8-bits per channel.</para>
    /// </summary>
    BGRA32 = 14, // 0x0000000E
    /// <summary>
    ///   <para>Scalar (R)  texture format, 16 bit floating point.</para>
    /// </summary>
    RHalf = 15, // 0x0000000F
    /// <summary>
    ///   <para>Two color (RG)  texture format, 16 bit floating point per channel.</para>
    /// </summary>
    RGHalf = 16, // 0x00000010
    /// <summary>
    ///   <para>RGB color and alpha texture format, 16 bit floating point per channel.</para>
    /// </summary>
    RGBAHalf = 17, // 0x00000011
    /// <summary>
    ///   <para>Scalar (R) texture format, 32 bit floating point.</para>
    /// </summary>
    RFloat = 18, // 0x00000012
    /// <summary>
    ///   <para>Two color (RG)  texture format, 32 bit floating point per channel.</para>
    /// </summary>
    RGFloat = 19, // 0x00000013
    /// <summary>
    ///   <para>RGB color and alpha texture format,  32-bit floats per channel.</para>
    /// </summary>
    RGBAFloat = 20, // 0x00000014
    /// <summary>
    ///   <para>A format that uses the YUV color space and is often used for video encoding or playback.</para>
    /// </summary>
    YUY2 = 21, // 0x00000015
    /// <summary>
    ///   <para>RGB HDR format, with 9 bit mantissa per channel and a 5 bit shared exponent.</para>
    /// </summary>
    RGB9e5Float = 22, // 0x00000016
    /// <summary>
    ///   <para>HDR compressed color texture format.</para>
    /// </summary>
    BC6H = 24, // 0x00000018
    /// <summary>
    ///   <para>High quality compressed color texture format.</para>
    /// </summary>
    BC7 = 25, // 0x00000019
    /// <summary>
    ///   <para>Compressed one channel (R) texture format.</para>
    /// </summary>
    BC4 = 26, // 0x0000001A
    /// <summary>
    ///   <para>Compressed two-channel (RG) texture format.</para>
    /// </summary>
    BC5 = 27, // 0x0000001B
    /// <summary>
    ///   <para>Compressed color texture format with Crunch compression for smaller storage sizes.</para>
    /// </summary>
    DXT1Crunched = 28, // 0x0000001C
    /// <summary>
    ///   <para>Compressed color with alpha channel texture format with Crunch compression for smaller storage sizes.</para>
    /// </summary>
    DXT5Crunched = 29, // 0x0000001D
    /// <summary>
    ///   <para>PowerVR (iOS) 2 bits/pixel compressed color texture format.</para>
    /// </summary>
    PVRTC_RGB2 = 30, // 0x0000001E
    /// <summary>
    ///   <para>PowerVR (iOS) 2 bits/pixel compressed with alpha channel texture format.</para>
    /// </summary>
    PVRTC_RGBA2 = 31, // 0x0000001F
    /// <summary>
    ///   <para>PowerVR (iOS) 4 bits/pixel compressed color texture format.</para>
    /// </summary>
    PVRTC_RGB4 = 32, // 0x00000020
    /// <summary>
    ///   <para>PowerVR (iOS) 4 bits/pixel compressed with alpha channel texture format.</para>
    /// </summary>
    PVRTC_RGBA4 = 33, // 0x00000021
    /// <summary>
    ///   <para>ETC (GLES2.0) 4 bits/pixel compressed RGB texture format.</para>
    /// </summary>
    ETC_RGB4 = 34, // 0x00000022
    /// <summary>
    ///   <para>ETC2  EAC (GL ES 3.0) 4 bitspixel compressed unsigned single-channel texture format.</para>
    /// </summary>
    EAC_R = 41, // 0x00000029
    /// <summary>
    ///   <para>ETC2  EAC (GL ES 3.0) 4 bitspixel compressed signed single-channel texture format.</para>
    /// </summary>
    EAC_R_SIGNED = 42, // 0x0000002A
    /// <summary>
    ///   <para>ETC2  EAC (GL ES 3.0) 8 bitspixel compressed unsigned dual-channel (RG) texture format.</para>
    /// </summary>
    EAC_RG = 43, // 0x0000002B
    /// <summary>
    ///   <para>ETC2  EAC (GL ES 3.0) 8 bitspixel compressed signed dual-channel (RG) texture format.</para>
    /// </summary>
    EAC_RG_SIGNED = 44, // 0x0000002C
    /// <summary>
    ///   <para>ETC2 (GL ES 3.0) 4 bits/pixel compressed RGB texture format.</para>
    /// </summary>
    ETC2_RGB = 45, // 0x0000002D
    /// <summary>
    ///   <para>ETC2 (GL ES 3.0) 4 bits/pixel RGB+1-bit alpha texture format.</para>
    /// </summary>
    ETC2_RGBA1 = 46, // 0x0000002E
    /// <summary>
    ///   <para>ETC2 (GL ES 3.0) 8 bits/pixel compressed RGBA texture format.</para>
    /// </summary>
    ETC2_RGBA8 = 47, // 0x0000002F
    /// <summary>
    ///   <para>ASTC (4x4 pixel block in 128 bits) compressed RGB(A) texture format.</para>
    /// </summary>
    ASTC_4x4 = 48, // 0x00000030
    /// <summary>
    ///   <para>ASTC (4x4 pixel block in 128 bits) compressed RGB texture format.</para>
    /// </summary>
    [Obsolete("Enum member TextureFormat.ASTC_RGB_4x4 has been deprecated. Use ASTC_4x4 instead (UnityUpgradable) -> ASTC_4x4"), EditorBrowsable(EditorBrowsableState.Never)] ASTC_RGB_4x4 = 48, // 0x00000030
    /// <summary>
    ///   <para>ASTC (5x5 pixel block in 128 bits) compressed RGB(A) texture format.</para>
    /// </summary>
    ASTC_5x5 = 49, // 0x00000031
    /// <summary>
    ///   <para>ASTC (5x5 pixel block in 128 bits) compressed RGB texture format.</para>
    /// </summary>
    [Obsolete("Enum member TextureFormat.ASTC_RGB_5x5 has been deprecated. Use ASTC_5x5 instead (UnityUpgradable) -> ASTC_5x5"), EditorBrowsable(EditorBrowsableState.Never)] ASTC_RGB_5x5 = 49, // 0x00000031
    /// <summary>
    ///   <para>ASTC (6x6 pixel block in 128 bits) compressed RGB(A) texture format.</para>
    /// </summary>
    ASTC_6x6 = 50, // 0x00000032
    /// <summary>
    ///   <para>ASTC (6x6 pixel block in 128 bits) compressed RGB texture format.</para>
    /// </summary>
    [Obsolete("Enum member TextureFormat.ASTC_RGB_6x6 has been deprecated. Use ASTC_6x6 instead (UnityUpgradable) -> ASTC_6x6"), EditorBrowsable(EditorBrowsableState.Never)] ASTC_RGB_6x6 = 50, // 0x00000032
    /// <summary>
    ///   <para>ASTC (8x8 pixel block in 128 bits) compressed RGB(A) texture format.</para>
    /// </summary>
    ASTC_8x8 = 51, // 0x00000033
    /// <summary>
    ///   <para>ASTC (8x8 pixel block in 128 bits) compressed RGB texture format.</para>
    /// </summary>
    [EditorBrowsable(EditorBrowsableState.Never), Obsolete("Enum member TextureFormat.ASTC_RGB_8x8 has been deprecated. Use ASTC_8x8 instead (UnityUpgradable) -> ASTC_8x8")] ASTC_RGB_8x8 = 51, // 0x00000033
    /// <summary>
    ///   <para>ASTC (10x10 pixel block in 128 bits) compressed RGB(A) texture format.</para>
    /// </summary>
    ASTC_10x10 = 52, // 0x00000034
    /// <summary>
    ///   <para>ASTC (10x10 pixel block in 128 bits) compressed RGB texture format.</para>
    /// </summary>
    [Obsolete("Enum member TextureFormat.ASTC_RGB_10x10 has been deprecated. Use ASTC_10x10 instead (UnityUpgradable) -> ASTC_10x10"), EditorBrowsable(EditorBrowsableState.Never)] ASTC_RGB_10x10 = 52, // 0x00000034
    /// <summary>
    ///   <para>ASTC (12x12 pixel block in 128 bits) compressed RGB(A) texture format.</para>
    /// </summary>
    ASTC_12x12 = 53, // 0x00000035
    /// <summary>
    ///   <para>ASTC (12x12 pixel block in 128 bits) compressed RGB texture format.</para>
    /// </summary>
    [Obsolete("Enum member TextureFormat.ASTC_RGB_12x12 has been deprecated. Use ASTC_12x12 instead (UnityUpgradable) -> ASTC_12x12"), EditorBrowsable(EditorBrowsableState.Never)] ASTC_RGB_12x12 = 53, // 0x00000035
    /// <summary>
    ///   <para>ASTC (4x4 pixel block in 128 bits) compressed RGBA texture format.</para>
    /// </summary>
    [EditorBrowsable(EditorBrowsableState.Never), Obsolete("Enum member TextureFormat.ASTC_RGBA_4x4 has been deprecated. Use ASTC_4x4 instead (UnityUpgradable) -> ASTC_4x4")] ASTC_RGBA_4x4 = 54, // 0x00000036
    /// <summary>
    ///   <para>ASTC (5x5 pixel block in 128 bits) compressed RGBA texture format.</para>
    /// </summary>
    [EditorBrowsable(EditorBrowsableState.Never), Obsolete("Enum member TextureFormat.ASTC_RGBA_5x5 has been deprecated. Use ASTC_5x5 instead (UnityUpgradable) -> ASTC_5x5")] ASTC_RGBA_5x5 = 55, // 0x00000037
    /// <summary>
    ///   <para>ASTC (6x6 pixel block in 128 bits) compressed RGBA texture format.</para>
    /// </summary>
    [EditorBrowsable(EditorBrowsableState.Never), Obsolete("Enum member TextureFormat.ASTC_RGBA_6x6 has been deprecated. Use ASTC_6x6 instead (UnityUpgradable) -> ASTC_6x6")] ASTC_RGBA_6x6 = 56, // 0x00000038
    /// <summary>
    ///   <para>ASTC (8x8 pixel block in 128 bits) compressed RGBA texture format.</para>
    /// </summary>
    [EditorBrowsable(EditorBrowsableState.Never), Obsolete("Enum member TextureFormat.ASTC_RGBA_8x8 has been deprecated. Use ASTC_8x8 instead (UnityUpgradable) -> ASTC_8x8")] ASTC_RGBA_8x8 = 57, // 0x00000039
    /// <summary>
    ///   <para>ASTC (10x10 pixel block in 128 bits) compressed RGBA texture format.</para>
    /// </summary>
    [EditorBrowsable(EditorBrowsableState.Never), Obsolete("Enum member TextureFormat.ASTC_RGBA_10x10 has been deprecated. Use ASTC_10x10 instead (UnityUpgradable) -> ASTC_10x10")] ASTC_RGBA_10x10 = 58, // 0x0000003A
    /// <summary>
    ///   <para>ASTC (12x12 pixel block in 128 bits) compressed RGBA texture format.</para>
    /// </summary>
    [Obsolete("Enum member TextureFormat.ASTC_RGBA_12x12 has been deprecated. Use ASTC_12x12 instead (UnityUpgradable) -> ASTC_12x12"), EditorBrowsable(EditorBrowsableState.Never)] ASTC_RGBA_12x12 = 59, // 0x0000003B
    /// <summary>
    ///   <para>ETC 4 bits/pixel compressed RGB texture format.</para>
    /// </summary>
    [Obsolete("Nintendo 3DS is no longer supported.")] ETC_RGB4_3DS = 60, // 0x0000003C
    /// <summary>
    ///   <para>ETC 4 bitspixel RGB + 4 bitspixel Alpha compressed texture format.</para>
    /// </summary>
    [Obsolete("Nintendo 3DS is no longer supported.")] ETC_RGBA8_3DS = 61, // 0x0000003D
    /// <summary>
    ///   <para>Two color (RG) texture format, 8-bits per channel.</para>
    /// </summary>
    RG16 = 62, // 0x0000003E
    /// <summary>
    ///   <para>Single channel (R) texture format, 8 bit integer.</para>
    /// </summary>
    R8 = 63, // 0x0000003F
    /// <summary>
    ///   <para>Compressed color texture format with Crunch compression for smaller storage sizes.</para>
    /// </summary>
    ETC_RGB4Crunched = 64, // 0x00000040
    /// <summary>
    ///   <para>Compressed color with alpha channel texture format using Crunch compression for smaller storage sizes.</para>
    /// </summary>
    ETC2_RGBA8Crunched = 65, // 0x00000041
    /// <summary>
    ///   <para>ASTC (4x4 pixel block in 128 bits) compressed RGB(A) HDR texture format.</para>
    /// </summary>
    ASTC_HDR_4x4 = 66, // 0x00000042
    /// <summary>
    ///   <para>ASTC (5x5 pixel block in 128 bits) compressed RGB(A) HDR texture format.</para>
    /// </summary>
    ASTC_HDR_5x5 = 67, // 0x00000043
    /// <summary>
    ///   <para>ASTC (6x6 pixel block in 128 bits) compressed RGB(A) HDR texture format.</para>
    /// </summary>
    ASTC_HDR_6x6 = 68, // 0x00000044
    /// <summary>
    ///   <para>ASTC (8x8 pixel block in 128 bits) compressed RGB(A) texture format.</para>
    /// </summary>
    ASTC_HDR_8x8 = 69, // 0x00000045
    /// <summary>
    ///   <para>ASTC (10x10 pixel block in 128 bits) compressed RGB(A) HDR texture format.</para>
    /// </summary>
    ASTC_HDR_10x10 = 70, // 0x00000046
    /// <summary>
    ///   <para>ASTC (12x12 pixel block in 128 bits) compressed RGB(A) HDR texture format.</para>
    /// </summary>
    ASTC_HDR_12x12 = 71, // 0x00000047
    /// <summary>
    ///   <para>Two channel (RG) texture format, 16 bit integer per channel.</para>
    /// </summary>
    RG32 = 72, // 0x00000048
    /// <summary>
    ///   <para>Three channel (RGB) texture format, 16 bit integer per channel.</para>
    /// </summary>
    RGB48 = 73, // 0x00000049
    /// <summary>
    ///   <para>Four channel (RGBA) texture format, 16 bit integer per channel.</para>
    /// </summary>
    RGBA64 = 74, // 0x0000004A
  }
}
